Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

languages: go.mod/go.work fix highlighting no longer working #7705

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

MordFustang21
Copy link
Contributor

@MordFustang21 MordFustang21 commented Feb 12, 2024

At some point go.mod and go.work syntax highlighting quit working. Looks like the grammars weren't matching for some reason and I'm not sure how they were working originally.

Not sure if we could write a test to make sure the tree-sitter queries are being loaded for the grammars or not but seems like something that could be useful to avoid something like this in the future.

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Feb 12, 2024
@ConradIrwin ConradIrwin merged commit 04fc0dd into zed-industries:main Feb 13, 2024
7 checks passed
@ConradIrwin
Copy link
Member

Thanks for this!

While it would be possible to write a test, we're working on overhauling how languages are loaded, so I suggest we wait until after that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants